package com.sinder.campus_prophet.entity.search;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 寻物启事
 * @TableName tb_search_notice
 */
@TableName(value ="tb_search_notice")
@Data
public class TbSearchNotice implements Serializable {
    /**
     * 主键id
     */
    @TableId(value = "search_id", type = IdType.AUTO)
    private Integer searchId;

    /**
     * 发布者id
     */
    @TableField(value = "release_open_id")
    private String releaseOpenId;

    /**
     * 联系方式
     */
    @TableField(value = "phone")
    private String phone;

    /**
     * 内容详情
     */
    @TableField(value = "content_details")
    private String contentDetails;

    /**
     * 资源地址
     */
    @TableField(value = "resource_url")
    private String resourceUrl;

    /**
     * 审核状态，0:待审核，1:审核未通过，2:审核已通过
     */
    @TableField(value = "audit_status")
    private Integer auditStatus;

    /**
     * 反馈意见
     */
    @TableField(value = "feedback")
    private String feedback;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    private Date updateTime;

    /**
     * 审核人
     */
    @TableField(value = "audit_open_id")
    private String auditOpenId;

    /**
     * 审核时间
     */
    @TableField(value = "audit_time")
    private Date auditTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}